package top.infopub.mgr.bpa.service;


import com.github.pagehelper.Page;
import top.infopub.dto.bpa.OtherContractsReplenishDto;
import top.infopub.mgr.bpa.domain.OtherConReplenishDomain;
import top.infopub.mgr.bpa.vo.OtherConReplenishVo;
import top.infopub.model.bpa.Basic;
import top.infopub.model.bpa.OtherContractsReplenish;
import top.infopub.model.bpa.ProjectAgencyPayment;
import top.infopub.model.mkt.ProjectAttachment;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 其他合同补充协议 服务类
 * </p>
 *
 * @author astupidcoder
 * @since 2021-06-15
 */
public interface OtherContractsReplenishService {

    /**
     * 根据条件查询其他合同补充协议列表
     * @param otherConReplenishVo
     * @return
     * @see
     */
    Page<OtherConReplenishDomain> selectByDomainWhere(Page<OtherConReplenishDomain> page, OtherConReplenishVo otherConReplenishVo) throws ParseException;


    OtherContractsReplenishDto queryById(String id);

    List<Map<String, String>> projectDropDownBox();

    Basic projectBasic(String proCode);

    int save(OtherContractsReplenishDto dto, List<ProjectAttachment> attachmentList);

    OtherContractsReplenish findById(String id);


}
